Laravel eloquent mass update

57

Laravel eloquent mass update -

Flight::where('active', 1)
      ->where('destination', 'San Diego')
      ->update(['delayed' => 1]);

Comments

Submit
0 Comments